package com.glela.live.mapper;

import com.glela.live.model.LiveOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LiveOrderMapper {

    int add(LiveOrder liveOrder);

    int batchInsert(List<LiveOrder> liveOrderList);

    int batchInsert1(List<LiveOrder> liveOrderList);

    int getSizeByPid(int livePlanId);

    List<LiveOrder> getList(@Param("livePlanId") int livePlanId,@Param("start") int start,@Param("size") int size);
    
    List<LiveOrder> selectLiveOrderByOrderSn(@Param("orderObjectId") Long orderObjectId);
}
